
    import java.util.Scanner;

    public class Jia {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);

            System.out.print("请输入身高（cm）：");
            int height = scanner.nextInt();

            System.out.print("请输入财富（万元）：");
            int wealth = scanner.nextInt();

            System.out.print("请输入是否是：");
            String is = scanner.next();

            String result = checkConditions(height, wealth, is);
            System.out.println(result);
        }

        public static String checkConditions(int height, int wealth, String is) {

            if (height >= 180 && wealth >= 1000 && "是".equalsIgnoreCase(is)) {
                return "我一定要嫁给她！！！";
            }

            else if (height >= 180 || wealth >= 1000 || "是".equalsIgnoreCase(is)) {
                return "嫁吧，比上不足，比下有余。";
            }

            else {
                return "不嫁!";
            }
        }
    }
}
